package com.hiyee.enums;

/**
 * 系统实体编号生成格式枚举
 *
 * @author WangBin
 */
public enum BnFormatEnum {

    CUSTOMER_BN(10001, "20%s5"),
    ORDER_BN(10001, "10%s6"),

    ;

    private int key;
    private String format;
    BnFormatEnum(int value, String format) {
        this.key = value;
        this.format = format;
    }

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }
}
